home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15228 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.lpr.carel.fi!usenet
  2. From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Re: H E L P
  5. Date: Thu, 04 Apr 1996 12:28:53 +0200
  6. Organization: Carelcomp Products
  7. Message-ID: <3163A465.2AB7@cmt.lpr.mail.carel.fi>
  8. References: <N.040296.013047.18@DynamicPPP-185.HIP.CAM.ORG> <Pine.A32.3.91.960402135001.121719B-100000@green.weeg.uiowa.edu> <4js6jh$ndr@solutions.solon.com> <DpAx1J.4n9@iquest.net> <4juui7$a8a@solutions.solon.com>
  9. NNTP-Posting-Host: renoir.cclahti.carel.fi
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. Peter Seebach wrote:
  16. > For extra credit, prove that you can do at least 15-bit numbers within
  17. > numbers with the 15 levels of nesting guaranteed by the standard, and
  18. > point out the limitation you'd run into, and at least one way around it
  19. > without relying on loops.
  20.  
  21. Shift the number right by one bit at each level. And back when printing.
  22.  
  23. Later,
  24.  AriL
  25. -- 
  26. All my opinions are mine and mine alone.
  27.